import { InMemoryDbService } from 'angular-in-memory-web-api';

export class InMemoryDataService implements InMemoryDbService {
  createDb() {
    const menusData = [
        { id: 1,  menuName: '一级菜单1' },
        { id: 2,  menuName: '一级菜单2' },
        { id: 3,  menuName: '一级菜单3' },
        { id: 4,  menuName: '一级菜单4' },
        { id: 5,  menuName: '一级菜单5' },
        { id: 6,  menuName: '一级菜单6' },
        { id: 7,  menuName: '一级菜单7' },
        { id: 8,  menuName: '一级菜单8' },
        { id: 9,  menuName: '一级菜单9' },
        { id: 10, menuName: '一级菜单10' }
    ];
    return {menusData};
  }
}
